package com.tykboot.model;

import com.tykboot.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author LiuYu
 * @date 2018/12/5
 */
@ApiModel(value = "amount", description = "Amount of money of the cash balance")
public class CurrencyAmount extends BaseEntity {
    @ApiModelProperty(name = "amount", value = "amount", notes = "pattern: ^\\d{1,13}\\.\\d{1,5}$")
    private String amount;

    @ApiModelProperty(name = "currency", value = "currency", notes = "pattern: ^[A-Z]{3,3}$")
    private String currency;

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }
}
